<template>
  <div class="page-filter">
    <div class="page-filter-left">
      <a-button type="primary" @click="addPlayLine">添加播放线路</a-button>
    </div>
    <div class="page-filter-right"></div>
  </div>
</template>
<script lang="ts" setup>
import { playLineState } from '../state'
//添加播放线路
const addPlayLine = () => {
  playLineState.playLineVisible = true
  playLineState.isAdd = true
}
</script>

<style lang="less" scoped>
@common-color: #0083ff; // sea blue

.page-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;

  &-left {
    display: flex;
    flex-wrap: nowrap;

    .ant-btn:not(:last-child) {
      margin-right: 16px;
    }
  }
}
</style>
